package com.wyp168.eduOrder.client;

import com.wyp168.commonutils.ordervo.CourseWebFrontVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient("service-edu")
public interface EduClient {

    @GetMapping("serviceedu/coursefront/getCourseInfoOrder/{courseId}")
    public CourseWebFrontVo getCourseInfoOrder(@PathVariable("courseId") String courseId);

}
